package siberia.ast.stmt;

import siberia.ast.expr.Expr;

public class WhileStmt extends Stmt {
    public Expr condition;
    public Block block;

    public WhileStmt(Expr condition, Block block, int line) {
        this.condition = condition;
        this.block = block;
        this.line = line;
    }

    public StmtType type() {
        return StmtType.WhileStmt;
    }
}
